Platform Explorer / Nuxeo Platform 5.8

Component org.nuxeo.ecm.platform.routing.admincenter

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.routing.admincenter">

  <extension target="org.nuxeo.ecm.platform.actions.ActionService"
    point="actions">

    <action id="tab.admin.workflow" link="/incl/admin/adminWorkflow.xhtml"
      label="tab.admin.workflow" order="80">
      <category>NUXEO_ADMIN</category>
      <filter-id>only_for_manager</filter-id>
    </action>

  </extension>

  <extension target="org.nuxeo.ecm.platform.ui.web.ContentViewService"
    point="contentViews">

    <contentView name="admin_workflow_models">
      <title>label.admin.workflow.models</title>
      <translateTitle>true</translateTitle>
      <showTitle>false</showTitle>
      <coreQueryPageProvider>
        <property name="coreSession">#{documentManager}</property>
        <pattern>SELECT * FROM DocumentRoute WHERE ecm:path STARTSWITH
          '/document-route-models-root'
        </pattern>
        <sort column="dc:title" ascending="true" />
        <pageSize>20</pageSize>
      </coreQueryPageProvider>
      <cacheKey>#{org.jboss.seam.core.manager.currentConversationId}
      </cacheKey>
      <cacheSize>10</cacheSize>
      <refresh>
        <event>documentChildrenChanged</event>
      </refresh>
      <resultLayouts>
        <layout name="document_route_models_listing_ajax" title="document_listing"
          translateTitle="true" iconPath="/icons/document_listing_icon.png"
          showCSVExport="true" showPDFExport="true"
          showSyndicationLinks="true" />
      </resultLayouts>
      <selectionList>CURRENT_SELECTION</selectionList>
      <actions category="CURRENT_SELECTION_LIST" />
    </contentView>

  </extension>

</component>